package com.zhixiang.xaec.entity.bpmndemo;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.zhixiang.xaec.entity.BaseEntity;

/**
 * @author gao
 * @since 2017年1月16日
 * 
 */
@Entity
@Table(name="workflow_LeaveBill")
@Comment("请假单")
public class LeaveBill extends BaseEntity
{
     @Comment("用户Id")
     private String userId;
     @Comment("姓名")
     private String name; 
     @Comment("请假天数")
     private Integer days;
     @Comment("请假原因")
     private String reason;
     @Comment("状态：未审批，审批中，审批")
     private String status;

    public String getUserId()
    {
        return userId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public Integer getDays()
    {
        return days;
    }

    public void setDays(Integer days)
    {
        this.days = days;
    }

    public String getReason()
    {
        return reason;
    }

    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }
     
     
}
